﻿using System;
using System.Linq;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.DynamicData;

namespace HieloCostalegre
{
    [MetadataType(typeof(Sale_Metadata))]
    public partial class Sale
    {
    }

    [TableName("Venta")]
    public class Sale_Metadata
    {
        public object Id { get; set; }

        [DisplayName("Fecha")]
        [DisplayFormat(DataFormatString = "{0:d MMMM yyyy}", ApplyFormatInEditMode = true)]
        public object Date { get; set; }

        [DisplayName("Cantidad")]
        public object Quantity { get; set; }

        [DisplayName("Activo")]
        public object Active { get; set; }

        [DisplayName("Cliente")]
        public object Business { get; set; }

        [DisplayName("Producto")]
        public object Product { get; set; }
    }
}
